import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "lib-flexible/flexible";
import storage from "./utils/storerage";

//用户信息获取
let userInfo =
  storage.localStorageGet(storage.KEY.UserInfo) ||
  storage.sessionStorageGet(storage.KEY.UserInfo);
store.commit("updateUserInfo", userInfo);

createApp(App).use(store).use(router).mount("#app");
